package com.bm.api.service;

import com.bm.common.dto.PingLunDto;
import com.bm.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * YoungMan, may the force be with you.
 *
 * @Author: 吃个小布丁吧
 * @Date: 2022/07/23/10:51
 */
@FeignClient(value = "bm-Server")
public interface PingLunService {
    @GetMapping("/server/pingLun/all.do")
    R all(@RequestParam int aid);
//    @PostMapping("save.do")
//    R save(@RequestBody PingLunDto dto, HttpServletRequest request);
}
